package com.bsoft.apiservice.mapper;

import com.bsoft.apiservice.dto.SampleReceiveRequest;
import com.bsoft.apiservice.entity.GetSample;
import com.bsoft.apiservice.entity.InspectInfos;
import com.bsoft.apiservice.entity.SampleNumber;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SampleReceiveMapper {

    @MapKey("vbarcode")
    List<SampleNumber> sampleInfo(SampleReceiveRequest req);

    @MapKey("vbarcode")
    List<InspectInfos> getDoctadviseno(SampleReceiveRequest req);

    @MapKey("vbarcode")
    List<GetSample> getReceive(SampleReceiveRequest req);

    Integer saveBbzq(SampleReceiveRequest req);

}
